#ifndef __UPDATE_H__
#define __UPDATE_H__

/*
	update.c function declarations
*/
struct CellUpdateBodyStruct;
struct PlayerUpdateBodyStruct;
struct PositionStruct;

void sendCellUpdateToAll( struct CellUpdateBodyStruct *cub ) ;
void broadcastChatMsg( char *msg, int length, int senderId ) ;
void sendInitialCellUpdates(void) ;
void sendCellUpdateMove( int sockfd, struct PositionStruct p, int playerId );
void sendPlayerUpdateToAll( struct PlayerUpdateBodyStruct *pub ) ;
void sendGameUpdateToAll( int sockfd, int gameState );

#endif
